//
//  CinemaTableViewCell.m
//  MyMovie
//
//  Created by lanou on 15/9/18.
//  Copyright (c) 2015年 HeQiangQiang. All rights reserved.
//

#import "CinemaTableViewCell.h"


@implementation CinemaTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.backgroundColor = [UIColor clearColor];
        
        self.label1 = [[UILabel alloc] initWithFrame:CGRectMake(10 * kFitWidth, 0, kWidth, 40 * kFitHeight)];
        self.label1.font = [UIFont fontWithName:@"American Typewriter" size:17 * kFitHeight];
        self.label1.textColor = [UIColor whiteColor];
        
        self.label2 = [[UILabel alloc] initWithFrame:CGRectMake(10 * kFitWidth, 40 * kFitHeight, kWidth, 40 * kFitHeight)];
        self.label2.numberOfLines = 0;
        self.label2.font = [UIFont fontWithName:@"American Typewriter" size:14 * kFitHeight];
        self.label2.textColor = [UIColor whiteColor];
        
        self.label3 = [[UILabel alloc] initWithFrame:CGRectMake(10 * kFitWidth, 80 * kFitHeight, kWidth, 40 * kFitHeight)];
        self.label3.font = [UIFont fontWithName:@"American Typewriter" size:14 * kFitHeight];
        self.label3.textColor = [UIColor whiteColor];
        
        UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(10, 120 * kFitHeight, kWidth- 20, 1)];
        lineView.backgroundColor = [UIColor whiteColor];
        
        [self.contentView addSubview:lineView];
        [self.contentView addSubview:self.label1];
        [self.contentView addSubview:self.label2];
        [self.contentView addSubview:self.label3];
        
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
